package me.boot.common.data.enums;


import io.swagger.annotations.ApiModel;
import lombok.Getter;
import me.base.utils.enums.DbEnum;


@Getter
@ApiModel("性别-枚举")
public enum Gender implements DbEnum {

    //@formatter:off

    FEMALE  (0, "女"),
    MALE    (1, "男"),

    ;
    //@formatter:on

    private final Integer value;
    private final String label;

    Gender(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
